package driver.service;

import driver.dao.UserDao_u;
import driver.dao.UserDaoImpl_u;
import driver.entity.School;
import driver.entity.User;

import java.sql.SQLException;

public class UserServiceImpl_u implements UserService_u {
    private UserDao_u dao=new UserDaoImpl_u();
    @Override
    public User select_user_info(String num) throws SQLException {
        return dao.select_user_info(num);
    }

    @Override
    public School login(String num) throws SQLException {
        return dao.login(num);
    }

   /* public static void main(String[] args) throws SQLException {
        User user = new UserServiceImpl_u().select_user_info("19829088780");
        System.out.println(user.toString());

    }*/
}
